<template>
  <n-result
      status="500"
      title="500 服务器错误"
      description="服务器出错可能说明该雇更多程序员了"
  >
    <template #footer>
      <n-button @click="toPage()">散财消灾</n-button>
    </template>
  </n-result>
</template>

<script setup>
import {inject} from 'vue'
const {toPage} = inject('toPage')
</script>

<style scoped>

</style>